home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility2 / wine02bx.zip / LISP / CALENDAR / DIARY.ELC < prev    next >
Text File  |  1993-03-28  |  56KB  |  442 lines

  1. ;;; compiled by jwz@thalidomide on Thu Jul  2 14:38:29 1992
  2. ;;; from file /u/jwz/emacs19/lisp/calendar/diary.el
  3. ;;; emacs version 19.2.1 Lucid.
  4. ;;; bytecomp version 2.07; 17-jun-92.
  5. ;;; optimization is on.
  6. ;;; this file uses opcodes which do not exist in Emacs18.
  7.  
  8. (if (and (boundp 'emacs-version)
  9.      (or (and (boundp 'epoch::version) epoch::version)
  10.          (string-lessp emacs-version "19")))
  11.     (error "This file was compiled for Emacs19."))
  12.  
  13. (byte-code "└┴!ê┬├!ç" [require calendar provide diary] 2)
  14. (fset 'diary #[(&optional arg) "└    !┬ ë½«┼ !½⌐╞ !½ƒ╟ ½å╔!¬É╩ !½ê ╠ !H¬é \"¬ê═╬!¬â═╧!*ç" [substitute-in-file-name diary-file calendar-current-date date d-file file-exists-p file-readable-p list-diary-entries arg prefix-numeric-value vectorp number-of-diary-entries calendar-day-of-week error "Your diary file is not readable!" "You don't have a diary file!"] 6 "\
  15. Generate the diary window for ARG days starting with the current date.
  16. If no argument is provided, the number of days of diary entries is governed
  17. by the variable `number-of-diary-entries'.  This function is suitable for
  18. execution in a .emacs file." "P"])
  19. (fset 'view-diary-entries #[(arg) "└    !ë½£├\n!½ù─\n!½ì┼╞ «â╟╚!    \"¬ê╟╩!¬â╟╦!)ç" [substitute-in-file-name diary-file d-file file-exists-p file-readable-p list-diary-entries calendar-cursor-to-date error "Cursor is not on a date!" arg "Your diary file is not readable!" "You don't have a diary file!"] 4 "\
  20. Prepare and display a buffer with diary entries.
  21. Searches the file diary-file for entries that match ARG days starting with
  22. the date indicated by the cursor position in the displayed three-month
  23. calendar." "p"])
  24. (autoload 'check-calendar-holidays "holidays" "\
  25. Check the list of holidays for any that occur on DATE.
  26. The value returned is a list of strings of relevant holiday descriptions.
  27. The holidays are those in the list calendar-holidays.")
  28. (autoload 'calendar-holiday-list "holidays" "\
  29. Form the list of holidays that occur on dates in the calendar window.
  30. The holidays are those in the list calendar-holidays.")
  31. (defvar diary-syntax-table (standard-syntax-table) "\
  32. The syntax table used when parsing dates in the diary file.
  33. It is the standard syntax table used in Fundamental mode, but with the
  34. syntax of `*' changed to be a word constituent.")
  35. (modify-syntax-entry 42 "w" diary-syntax-table)
  36. (fset 'list-diary-entries #[(date number) "└    Wà≤\n──╟\n!╔\n! ╠═!êè╬ !ë½ä¬à╨ ╤\"qê)╤─╘ ╒!ê╫Ä─╪ ┘!dSbê▐▀!¼çαuêßΓ!êebê▐▀!¼äßΓ!êπedΣσ╤%ê└&    &Të&Yâ╒'Φ\n!Θ\n!Ω\n!δ\n!,-./ë0â»0@@±Ü½å0@A¬â0@20@@±Ü1≤\n!⌠≤\n!└⌡O÷R7°∙/!⌠∙/!└⌡O÷░:√ⁿ/!P/√ⁿ.!P.√ⁿ-!=½è⌠ⁿ-■ª!P¬ü Q-ü@üAüBüC2üD#üE░F╤GebêüHF─╤#½·1½èüIüJ─╤#êüKhσ\"¼êüKhΣ\"½Å▐üL!¼êüMα!ê¬I╤,`─NOüIüP!ê`NüH▀─╤üQ$ê▐üL!½èüH▀─╤#ê¬oüMα!êπN`σΣ╤%êüR\nO`{\"ê*é .    0Aë0ä¥,¼ÉS½îüT\n DC\"üUüV\n!T!─,-év)üW!ê,ebêüXüYüZü[#ê.ç" [0 number date original-date nil old-diary-syntax-table diary-entries-list calendar-date-string date-string substitute-in-file-name diary-file d-file message "Preparing diary..." get-file-buffer diary-buffer find-file-noselect t selective-display selective-display-ellipses syntax-table set-syntax-table diary-syntax-table ((set-syntax-table old-diary-syntax-table)) buffer-modified-p regexp-quote diary-nonmarking-symbol mark diary-modified buffer-read-only looking-at "\\|\n" 1 insert-string "" subst-char-in-region 10 13 i diary-date-forms extract-calendar-month extract-calendar-day extract-calendar-year list-sexp-diary-entries entry-found year day month d backup date-form calendar-day-name "\\|" 3 ".?" dayname "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year 100 "" "\\(\\`\\|\\|\n\\)" "?\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward re-search-backward "\\<" char-equal " \\|    " backward-char date-start entry-start "\\|\n\\|\\`" 2 add-to-diary-list diary-list-include-blanks append calendar-gregorian-from-absolute calendar-absolute-from-gregorian set-buffer-modified-p run-hooks nongregorian-diary-listing-hook list-diary-entries-hook diary-display-hook] 8 "\
  37. Create and display a buffer containing the relevant lines in diary-file.
  38. All lines that apply to DATE and the next NUMBER-1 days are included.
  39.  
  40. Makes all diary entries in the diary file invisible (using selective display),
  41. *except* those that are relevant.
  42.  
  43. Returns a list of all relevant diary entries found, if any, in order by date.
  44. The list entries have the form ((month day year) string).  If the variable
  45. `diary-list-include-blanks' is t, this list will include a dummy diary entry
  46. (consisting of the empty string) for a date with no diary entries.
  47.  
  48. After the list is prepared, the hooks `nongregorian-diary-listing-hook',
  49. `list-diary-entries-hook', and `diary-display-hook' are run.  These hooks
  50. have the following distinct roles:
  51.  
  52.     `nongregorian-diary-listing-hook' can cull dates from the diary
  53.         and each included file.  Usually used for Hebrew or Islamic
  54.         diary entries in files.  Applied to *each* file.
  55.  
  56.     `list-diary-entries-hook' adds or manipulates diary entries from
  57.         external sources.  Used, for example, to include diary entries
  58.         from other files or to sort the diary entries.  Invoked *once* only.
  59.  
  60.     `diary-display-hook' does the actual display of information.  Could be
  61.         used also for an appointment notification function."])
  62. (fset 'include-other-diary-files #[nil "ebê└┴┬ !─Q┼╞#½╬╟╚ö╚ò{!┼╔┼\n  ╬!½ª╧!½æ╨Ä╤╙\"\")¬£╓ ê╫╪\"ê┘╚!ê¬ì╓ ê╫┌\"ê┘╚!ê,¬&ebç" [re-search-forward "\\(\\`\\|\\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name 2 include-other-diary-files diary-display-hook list-diary-entries-hook diary-list-include-blanks diary-file file-exists-p file-readable-p ((byte-code "└┴\n!!ç" [kill-buffer get-file-buffer diary-file] 3)) append diary-entries-list list-diary-entries original-date number beep message "Can't read included diary file %s" sleep-for "Can't find included diary file %s"] 5 "\
  63. Include the diary entries from other diary files with those of diary-file.
  64. This function is suitable for use just before prepare-fancy-diary-buffer as
  65. the list-diary-entries-hook; it enables you to use shared diary files together
  66. with your own.  The files included are specified in the diary-file by lines
  67. of the form
  68.         #include \"filename\"
  69. This is recursive; that is, #include directives in diary files thus included
  70. are obeyed.  You can change the \"#include\" to some other string by
  71. changing the variable `diary-include-string'."])
  72. (fset 'simple-diary-display #[nil "¡â┴\n!─┼ ½â╟¬ü╚P╔╩ ╦## ½ÄA¼╟@A@╚ÿ½╛ G╬ X½å╧ !¬▄╨!qê╥─╘\"╓ ê╔╩ ╫#cêebê╪╥!ê┘┌!ê╧█\"¬¼─▄ ½â╚¬ü▌ ½â▐¬ü▀ ½âα¬ü╚╔╩ ╦#&┌ß\"!!ê╧π!*ç" [holidays-in-diary-buffer check-calendar-holidays original-date holiday-list format "No diary entries for %s %s" date-string ":" "" mapconcat identity "; " msg diary-entries-list screen-width message get-buffer-create holiday-buffer nil buffer-read-only "--------------------------%s%%-" mode-line-format erase-buffer "\n" set-buffer-modified-p t display-buffer "No diary entries for %s" "%%*--%sDiary %s %s%s%s%%-" "---------------" "for" "entries for" ": " get-file-buffer d-file "Preparing diary...done"] 10 "\
  73. Display the diary buffer if there are any relevant entries or holidays."])
  74. (fset 'fancy-diary-display #[nil "½îA¼α@A@┴ÿ½╪\n¡â├ !╞╟½â╔¬ü┴P╩╦╠##ëG╬ X½å╧!¬«╨!qê╥╞╘\"╓ ê╩╦╫#cêebê╪╥!ê┘┌!ê╧█\"*çè▄▌!!qê▀  ßedΓπ┘%ê╥$σ╒!ê╪ !ê*è╨&!qê╥τ╒!êΦ╓ ê╥ΘëΩëëE+,-ë.â╢∩+.@@\"äÜ.@@+\n½τ≡-±-,\",EC+C\"½╘≥+!ë-½╦≤+!ë,½┬,⌠_-⌡Θ\\\\\\ë6⌠ªT-6⌠Ñë,)½Ñ-,78∙ *ë½û,⌠_-\\ë6⌠ªT-6⌠Ñ,)·+!╥;ë<½£∩+<@@\"½è²;<@A\";<Aë<¼d;*>`eU½â┴¬üπ▒ê>½â cêi@╩╦>╫üA@üB\"P#cê)i@πüA@üC\"π▒ê+Ω.@A@GW½ë.@A@π▒ê.Aë.ä▓-╪╥!êebê┘┌&!ê╧üD!)ç" [diary-entries-list "" holidays-in-diary-buffer check-calendar-holidays original-date holiday-list format "No diary entries for %s %s" date-string ":" mapconcat identity "; " msg screen-width message get-buffer-create holiday-buffer nil buffer-read-only "--------------------------%s%%-" mode-line-format erase-buffer "\n" set-buffer-modified-p t display-buffer "No diary entries for %s" get-file-buffer substitute-in-file-name diary-file buffer-modified-p diary-modified subst-char-in-region 13 10 selective-display kill-local-variable fancy-diary-buffer make-local-variable "---------------------------Diary Entries%-" 1 0 date holiday-list-last-year holiday-list-last-month entry-list calendar-date-equal calendar-date-compare calendar-last-day-of-month extract-calendar-month extract-calendar-year 12 -1 macro-y displayed-year displayed-month calendar-holiday-list calendar-date-string d h append date-holiday-list ":  " l make-string 32 61 "Preparing diary...done"] 8 "\
  75. Prepare a diary buffer with relevant entries in a fancy, noneditable form.
  76. This function is provided for optional use as the `list-diary-entries-hook'."])
  77. (fset 'print-diary-entries #[nil "└┴\n!!뽺─┼!è qê╟ed#êqê╚╔╩╦#½å╠═!ê¬s╬╧!*¬â╨╤!)ç" [get-file-buffer substitute-in-file-name diary-file diary-buffer get-buffer-create "*Printable Diary Entries*" temp-buffer copy-to-buffer re-search-forward ".*$" nil t replace-match "" run-hooks print-diary-entries-hook error "You don't have a diary buffer!"] 5 "\
  78. Print a hard copy of the entries visible in the diary window.
  79. The hooks given by the variable `print-diary-entries-hook' are called after
  80. the temporary buffer of visible diary entries is prepared; it is the hooks
  81. that do the actual printing and kill the buffer." nil])
  82. (fset 'add-diary-heading #[nil "è└\nqê ─┼    \"ê    ╞ö╞òOqêebê    ╚╔    G╩\"╚▒*ç" [nil heading diary-buffer mode-line-format string-match "%\\*-*\\([^-].*\\)%-$" 1 temp-buffer "\n" make-string 61] 5 "\
  83. Add a heading to the diary entries for printing.
  84. The heading is formed from the mode line of the diary buffer.  This function
  85. is used in the default value of the variable `print-diary-entry-hooks'."])
  86. (fset 'show-all-diary-entries #[nil "└    !ë½╞├\n!½┴─\n!½╖è┼\n!ë½ä¬ä╟\n╚\"qê╔╩   ═ed╬╧╚%ê╔╤╥!ê╙╘p!ê╒ !,¬ê╓╫!¬â╓╪!)ç" [substitute-in-file-name diary-file d-file file-exists-p file-readable-p get-file-buffer diary-buffer find-file-noselect t nil buffer-modified-p diary-modified buffer-read-only subst-char-in-region 13 10 selective-display make-local-variable mode-line-format "%*---------------------------All Diary Entries%-" display-buffer set-buffer-modified-p error "Your diary file is not readable!" "You don't have a diary file!"] 7 "\
  87. Show all of the diary entries in the diary-file.
  88. This function gets rid of the selective display of the diary-file so that
  89. all entries, not just some, are visible.  If there is no diary buffer, one
  90. is created." nil])
  91. (fset 'diary-name-pattern #[(string-array &optional fullname) "└┬ GS TëY½í    ë└ÿ½â└¬ü┼ H½â└¬ë┼ H╟╚O╔QR¬U)    )ç" ["" pattern -1 i string-array "\\|" fullname 0 3 ".?"] 7 "\
  92. Convert an STRING-ARRAY, an array of strings to a pattern.
  93. The pattern will match any of the strings, either entirely or abbreviated
  94. to three characters.  An abbreviated form will match with or without a period;
  95. If the optional FULLNAME is t, abbreviations will not match, just the full
  96. name."])
  97. (fset 'mark-diary-entries #[nil "└┬ !ëâ┼ !â╞ !â\nè╟╚!ê╔ └\"qê\n╦ ╬  ╧!êâφ@@╤ܽå@A¬â@╙!╙!╫P┘┘┘Gë╒>GZU?¡ä▀\\╪>GZ  U?¡ä ▀\\ █>GZ!!U?¡ä!▀\\!┌>GZ\"\"U?¡ä\"▀\\\"▄>GZ##U?¡ä#▀\\#Σσµτ#ΦQ)└*ebêδ)╦└#âπ¡çöò{, ¡ç ö ò{-ε\"½ë\"ö\"ò{¬ü∩!0ε!½ë!ö!ò{¬ü∩!1#¡ç#ö#ò{ë2¼â≤¬─2G▀U½╣4½╡⌡÷ !7ε2!7°Ñ°_\\ë97Z·V½å9°Z¬æ79Z·V½å9°\\¬é9*¬äε2!;,½Öⁿ²■,≤ O!ü@≤üA#\"A!ê¬┤-½Ñ-üBÿ½à≤0¬ÿ²■-≤ O!ü@üCüD#\"A0üE01;#ê.éφA.é1üF êüGüHüI\"ê╧ !ê╟üJ!+¬ÉüKüL!¬çüKüM!)ç" [t mark-diary-entries-in-calendar substitute-in-file-name diary-file d-file file-exists-p file-readable-p message "Marking diary entries..." find-file-noselect diary-date-forms nil old-diary-syntax-table d syntax-table set-syntax-table diary-syntax-table backup date-form diary-name-pattern calendar-day-name-array dayname calendar-month-name-array "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\|\\|\n\\)\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year extract-calendar-year calendar-current-date current-y 100 y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" 1 (lambda (x) (substring x 0 3)) mark-calendar-date-pattern mark-sexp-diary-entries run-hooks nongregorian-diary-marking-hook mark-diary-entries-hook "Marking diary entries...done" error "Your diary file is not readable!" "You don't have a diary file!"] 8 "\
  98. Mark days in the calendar window that have diary entries.
  99. Each entry in diary-file visible in the calendar window is marked.  After the
  100. entries are marked, the hooks `nongregorian-diary-marking-hook' and
  101. `mark-diary-entries-hook' are run." nil])
  102. (fset 'mark-sexp-diary-entries #[nil "└    !├\n─Q╞╞╞    ╞\nè qê )╬_╧\\\\ë╬ªT╬Ñ)╤╥E!    ╬_╥\\\\ë╬ªT╬Ñ)╤╙\"E!\nebê╘╞╒#à╓╥!ê`╞ëëë▄ ê`{è▌▐!ê`)╥uê▀hα\"¼å▀hß\"½ÄΓπ!¼ë╓╥!êΣ¬░`╘σ╞╒#êΓπ!½ê╘σ╞╒#ê¬s╓╥!ê`{µτ\"½ëΦößIê¬p    S)\n)Të)Y½òΩδ)!#½i∞δ)!!ê¬`.éo.ç" [regexp-quote sexp-diary-entry-symbol sexp-mark "\\(\\`\\|\\|\n\\)" "(" s-entry nil m y first-date last-date calendar-buffer displayed-month displayed-year 12 -2 macro-y calendar-absolute-from-gregorian 1 calendar-last-day-of-month re-search-forward t backward-char line-start entry-start entry sexp sexp-start forward-sexp re-search-backward "\\|\n\\|\\`" char-equal 13 10 looking-at " \\|    " "" "\\|\n" string-match "[]" 0 date diary-sexp-entry calendar-gregorian-from-absolute mark-visible-calendar-date] 6 "\
  103. Mark days in the calendar window that have sexp diary entries.
  104. Each entry in diary-file (or included files) visible in the calendar window
  105. is marked.  See the documentation for the function `list-sexp-diary-entries'."])
  106. (fset 'mark-included-diary-files #[nil "ebê└┴┬ !─Q┼╞#½├╟╚ö╚ò{!╔\n ╠ !½í═ !½î╬ ê╧╨ !!ꬣ╤ ê╥╙ \"ê╘╚!ê¬ì╤ ê╥╒ \"ê╘╚!ê*¬1ebç" [re-search-forward "\\(\\`\\|\\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name 2 mark-included-diary-files mark-diary-entries-hook diary-file file-exists-p file-readable-p mark-diary-entries kill-buffer get-file-buffer beep message "Can't read included diary file %s" sleep-for "Can't find included diary file %s"] 4 "\
  107. Mark the diary entries from other diary files with those of diary-file.
  108. This function is suitable for use as the mark-diary-entries-hook; it enables
  109. you to use shared diary files together with your own.  The files included are
  110. specified in the diary-file by lines of the form
  111.         #include \"filename\"
  112. This is recursive; that is, #include directives in diary files thus included
  113. are obeyed.  You can change the \"#include\" to some other string by
  114. changing the variable `diary-include-string'."])
  115. (fset 'mark-calendar-days-named #[(dayname) "èqê    \n    \n├ë    ╩_\\ë ╩ªT ╩Ñ)╩_    ╠\\\\ë ╩ªT     ╩Ñ)═╬╧    $!═╬╤$! X¡ì╥╙ !!ê ╘\\ë¬o.ç" [calendar-buffer displayed-month displayed-year nil day last-day succ-year succ-month prev-year prev-month 12 macro-y -2 calendar-absolute-from-gregorian calendar-nth-named-day 1 dayname -1 mark-visible-calendar-date calendar-gregorian-from-absolute 7] 7 "\
  116. Mark all dates in the calendar window that are day DAYNAME of the week.
  117. 0 means all Sundays, 1 means all Mondays, and so on."])
  118. (fset 'mark-calendar-date-pattern #[(month day year) "èqê    \n ┼_ ╞\\\\ë┼ªT┼Ñ)╚    ╩    Të    Y¡ƒ╦  %ê ┼_ \\ë┼ªT┼Ñ)¬W,ç" [calendar-buffer displayed-month displayed-year y m 12 -2 macro-y -1 i 2 mark-calendar-month month day year] 7 "\
  119. Mark all dates in the calendar window that conform to MONTH/DAY/YEAR.
  120. A value of 0 in any position is a wild-card."])
  121. (fset 'mark-calendar-month #[(month year p-month p-day p-year) "    U½è\n├U¼ö \nU¼Å    ├U¡▒\n├U¼à \nU¡º├U½£├╟ \"TëY¡è╚ E!ê¬i)ç╚ E!ç" [month p-month p-year 0 year p-day i calendar-last-day-of-month mark-visible-calendar-date] 4 "\
  122. Mark dates in the MONTH/YEAR that conform to pattern P-MONTH/P_DAY/P-YEAR.
  123. A value of 0 in any position of the pattern is a wild-card."])
  124. (fset 'diary-entry-compare #[(e1 e2) "└    \n\"«ô├    @\n@\"¡ï─    A@!─\nA@!Wç" [calendar-date-compare e1 e2 calendar-date-equal diary-entry-time] 3 "\
  125. Returns t if E1 is earlier than E2."])
  126. (fset 'diary-entry-time #[(s) "└┴\n\"½ö├\n─ö─òO!┼_├\n╞ö╞òO!\\ç└╟\n\"½£├\n─ö─òO!╚ª┼_\n╞ö╞òO╔ÿ½â╩¬ü╦\\ç└╠\n\"½Ñ├\n─ö─òO!╚ª┼_├\n╞ö╞òO!\n═ö═òO╔ÿ½â╩¬ü╦\\\\ç╬ç" [string-match "^ *\\([0-9]?[0-9]\\):?\\([0-9][0-9]\\)\\(\\>\\|[^ap]\\)" s string-to-int 1 100 2 "^ *\\([0-9]?[0-9]\\)\\([ap]\\)m\\>" 12 "a" 0 1200 "^ *\\([0-9]?[0-9]\\):\\([0-9][0-9]\\)\\([ap]\\)m\\>" 3 -9999] 5 "\
  127. Time at the beginning of the string S in a military-style integer.
  128. For example, returns 1325 for 1:25pm.  Returns -9999 if no time is recognized.
  129. The recognized forms are XXXX or X:XX or XX:XX (military time), XXam or XXpm,
  130. and XX:XXam or XX:XXpm."])
  131. (fset 'list-hebrew-diary-entries #[nil "└    WâO┬├  ┼!    \n└      Të YâF ╬╧!!╤!╙!╒!â7@@╫ܽå@A¬â@@@╫Ü┘!┌┘!└█O▄Rαß!P\"πΣ!PπΣ!PπΣ!%½è┌Σµª!P¬üτQΦΘ┼*!δ∞φε#∩░0±2ebê≤0┬±#½σ½å⌠⌡┬±#ê÷h≈\"¼å÷h°\"½ï∙·!¼å√ⁿ!ê¬W`┬=>⌠ !ê`=≤ü@┬±üA$ê∙·!½è≤ü@┬±#ê¬q√ⁿ!êüB=`≈°±%êüC>`{\"ê*¬.\nAëäG-üD╧!T!é)üE    !,çebç" [0 number nil buffer-modified-p original-date regexp-quote diary-nonmarking-symbol mark gdate diary-modified buffer-read-only i diary-date-forms d calendar-hebrew-from-absolute calendar-absolute-from-gregorian hdate extract-calendar-month month extract-calendar-day day extract-calendar-year year backup date-form calendar-day-name "\\|" 3 ".?" dayname calendar-hebrew-month-name-array-leap-year calendar-month-name-array "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year 100 "" "\\(\\`\\|\\|\n\\)" "?" hebrew-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp t case-fold-search re-search-forward re-search-backward "\\<" char-equal 13 10 looking-at " \\|    " backward-char 1 date-start entry-start "\\|\n\\|\\`" "\\|\n" 2 subst-char-in-region add-to-diary-list calendar-gregorian-from-absolute set-buffer-modified-p] 10 "\
  132. Add any Hebrew date entries from the diary-file to diary-entries-list.
  133. Hebrew date diary entries must be prefaced by a hebrew-diary-entry-symbol
  134. (normally an `H').  The same diary-date-forms govern the style of the Hebrew
  135. calendar entries, except that the Hebrew month names must be spelled in full.
  136. The Hebrew months are numbered from 1 to 13 with Nisan being 1, 12 being
  137. Adar I and 13 being Adar II; you must use `Adar I' if you want Adar of a
  138. common Hebrew year.  If a Hebrew date diary entry begins with a
  139. diary-nonmarking-symbol the entry will appear in the diary listing, but will
  140. not be marked in the calendar.  This function is provided for use with the
  141. nongregorian-diary-listing-hook."])
  142. (fset 'mark-hebrew-diary-entries #[nil "ëà¿    @@┬ܽࠠ  @A¬é    @─!─╚\"╔P\n╦ ╦╦ Gë╞ >GZU?¡ä╤\\╩ >GZU?¡ä╤\\═ >GZU?¡ä╤\\╠ >GZU?¡ä╤\\╬ >GZU?¡ä╤\\╓╫!┘┌█ ▄#▌░╚ebêαß╚#â₧¡çöò{\"¡çöò{#Σ½ëöò{¬üσ!&Σ½ëöò{¬üσ!'¡çöò{ë(¼âΘ¬╚(G╤U½╜*½╣δ∞φε !!!/Σ(!/≡Ñ≡_\\ë1/Z≥V½å1≡Z¬æ/1Z≥V½å1≡\\¬é1*¬äΣ(!3\"½ö⌠⌡÷\"Θ≈O!°Θ∙#\"A!ê¬Ñ#½ÿ#·ÿ½àΘ&¬ì⌡÷#!°!\"A&√&'3#ê.é╕.    Aëäß)ç" [diary-date-forms d backup date-form diary-name-pattern calendar-day-name-array dayname calendar-hebrew-month-name-array-leap-year t "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\|\\|\n\\)" regexp-quote hebrew-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year extract-calendar-year calendar-hebrew-from-absolute calendar-absolute-from-gregorian calendar-current-date current-y 100 y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" mark-hebrew-calendar-date-pattern] 8 "\
  143. Mark days in the calendar window that have Hebrew date diary entries.
  144. Each entry in diary-file (or included files) visible in the calendar window
  145. is marked.  Hebrew date entries are prefaced by a hebrew-diary-entry-symbol
  146. (normally an `H').  The same diary-date-forms govern the style of the Hebrew
  147. calendar entries, except that the Hebrew month names must be spelled in full.
  148. The Hebrew months are numbered from 1 to 13 with Nisan being 1, 12 being
  149. Adar I and 13 being Adar II; you must use `Adar I' if you want Adar of a
  150. common Hebrew year.  Hebrew date diary entries that begin with a
  151. diary-nonmarking symbol will not be marked in the calendar.  This function
  152. is provided for use as part of the nongregorian-diary-marking-hook."])
  153. (fset 'mark-hebrew-calendar-date-pattern #[(month day year) "èqê    ┬Uä  ┬Uä  ┬U¼ÿ┼╞     E!!╚!¡ä╔!)é╖\n╦    W½à    ╦Z¬â    ╠\\═    W½à    ═Z¬â    ╬\\╧    W½à    ╧Z¬â    ╨\\╤    W½à    ╤Z¬â    ╥\\╙    W½à    ╙Z¬â    ╘\\»>à╖\n\n╓█_▄\\\\ë█ªT█Ñ)█_\\ë█ªT█Ñ)▐╠E!▐α\"E!!Γ!#Γ!!$σ#!&σ$!'Φ    W½ä'¬é&┼╞     E!!╚!¡ä╔!. é╖\n╓ë)*+,+█_,▄\\\\ë█ªT,█Ñ+)▐,╠+E!*+█_,╠\\\\ë█ªT,█Ñ+)▐,α,+\"+E!)*S)TëY¡├Γ!-ε-!/≡-!1σ-!2    ┬U¼å    /U½¥ ┬U¼å 1U½Æ ┬U¼å 2U½ç╔┼!!ê,¬2-)ç" [calendar-buffer month 0 day year calendar-gregorian-from-absolute calendar-absolute-from-hebrew date calendar-date-is-visible-p mark-visible-calendar-date displayed-month 11 1 10 2 9 3 8 4 7 5 displayed-year nil y2 m2 y1 m1 12 -2 macro-y calendar-absolute-from-gregorian start-date calendar-last-day-of-month end-date calendar-hebrew-from-absolute hebrew-start hebrew-end extract-calendar-year hebrew-y1 hebrew-y2 6 last-date first-date y m h-date extract-calendar-month h-month extract-calendar-day h-day h-year] 8 "\
  154. Mark all dates in the calendar window that conform to the Hebrew date
  155. MONTH/DAY/YEAR.  A value of 0 in any position is a wild-card."])
  156. (fset 'list-sexp-diary-entries #[(date) "└    !└ !┼\n╞ ╟░╔\nebê╦╔╠#â╝═╬!ê`╔ëëë╘ ê`{è╒╓!ê`)╬uê╫h╪\"¼å╫h┘\"½Ä┌█!¼ë═╬!ê▄¬░`╦▌╔╠#ê┌█!½ê╦▌╔╠#ê¬s═╬!ê`{▐▀\"½ëαö┘Iê¬pß\"#ë#½ëΣ`╪┘╠%êσ\"#\"ê\n«é#\n.é\n,ç" [regexp-quote diary-nonmarking-symbol mark sexp-diary-entry-symbol sexp-mark "\\(\\`\\|\\|\n\\)" "?" "(" s-entry nil entry-found re-search-forward t backward-char 1 line-start entry-start entry sexp sexp-start forward-sexp re-search-backward "\\|\n\\|\\`" char-equal 13 10 looking-at " \\|    " "" "\\|\n" string-match "[]" 0 diary-sexp-entry date diary-entry subst-char-in-region add-to-diary-list] 7 "\
  157. Add any sexp entries for DATE from the diary-file to diary-entries-list
  158. and make them visible in the diary file.  Returns t if any entries were found.
  159.  
  160. Sexp diary entries must be prefaced by a sexp-diary-entry-symbol (normally
  161. `%%').  The form of a sexp diary entry is
  162.  
  163.                   %%(SEXP) ENTRY
  164.  
  165. Both ENTRY and DATE are globally available when the SEXP is evaluated.  If the
  166. SEXP yields the value nil, the diary entry does not apply.  If it yields a
  167. non-nil value, ENTRY will be taken to apply to DATE; if the non-nil value is a
  168. string, that string will be the diary entry in the fancy diary display.
  169.  
  170. For example, the following diary entry will apply to the 21st of the month
  171. if it is a weekday and the Friday before if the 21st is on a weekend:
  172.  
  173.       &%%(let ((dayname (calendar-day-of-week date))
  174.                (day (extract-calendar-day date)))
  175.            (or
  176.              (and (= day 21) (memq dayname '(1 2 3 4 5)))
  177.              (and (memq day '(19 20)) (= dayname 5)))
  178.          ) UIUC pay checks deposited
  179.  
  180. A number of built-in functions are available for this type of diary entry:
  181.  
  182.       %%(diary-float MONTH DAYNAME N) text
  183.                   Entry will appear on the Nth DAYNAME of MONTH.
  184.                   (DAYNAME=0 means Sunday, 1 means Monday, and so on;
  185.                   if N is negative it counts backward from the end of
  186.                   the month.
  187.  
  188.       %%(diary-block M1 D1 Y1 M2 D2 Y2) text
  189.                   Entry will appear on dates between M1/D1/Y1 and M2/D2/Y2,
  190.                   inclusive.  (If `european-calendar-style' is t, the
  191.                   order of the parameters should be changed to D1, M1, Y1,
  192.                   D2, M2, Y2.)
  193.  
  194.       %%(diary-anniversary MONTH DAY YEAR) text
  195.                   Entry will appear on anniversary dates of MONTH DAY, YEAR.
  196.                   (If `european-calendar-style' is t, the order of the
  197.                   parameters should be changed to DAY, MONTH, YEAR.)  Text
  198.                   can contain %d or %d%s; %d will be replaced by the number
  199.                   of years since the MONTH DAY, YEAR and %s will be replaced
  200.                   by the ordinal ending of that number (that is, `st', `nd',
  201.                   `rd' or `th', as appropriate.  The anniversary of February
  202.                   29 is considered to be March 1 in a non-leap year.
  203.  
  204.       %%(diary-cyclic N MONTH DAY YEAR) text
  205.                   Entry will appear every N days, starting MONTH DAY, YEAR.
  206.                   (If `european-calendar-style' is t, the order of the
  207.                   parameters should be changed to N, DAY, MONTH, YEAR.)  Text
  208.                   can contain %d or %d%s; %d will be replaced by the number
  209.                   of repetitions since the MONTH DAY, YEAR and %s will
  210.                   be replaced by the ordinal ending of that number (that is,
  211.                   `st', `nd', `rd' or `th', as appropriate.
  212.  
  213.       %%(diary-day-of-year)
  214.                   Diary entries giving the day of the year and the number of
  215.                   days remaining in the year will be made every day.  Note
  216.                   that since there is no text, it makes sense only if the
  217.                   fancy diary display is used.
  218.  
  219.       %%(diary-iso-date)
  220.                   Diary entries giving the corresponding ISO commercial date
  221.                   will be made every day.  Note that since there is no text,
  222.                   it makes sense only if the fancy diary display is used.
  223.  
  224.       %%(diary-french-date)
  225.                   Diary entries giving the corresponding French Revolutionary
  226.                   date will be made every day.  Note that since there is no
  227.                   text, it makes sense only if the fancy diary display is used.
  228.  
  229.       %%(diary-islamic-date)
  230.                   Diary entries giving the corresponding Islamic date will be
  231.                   made every day.  Note that since there is no text, it
  232.                   makes sense only if the fancy diary display is used.
  233.  
  234.       %%(diary-hebrew-date)
  235.                   Diary entries giving the corresponding Hebrew date will be
  236.                   made every day.  Note that since there is no text, it
  237.                   makes sense only if the fancy diary display is used.
  238.  
  239.       %%(diary-yahrzeit MONTH DAY YEAR) text
  240.                   Text is assumed to be the name of the person; the date is
  241.                   the date of death on the *civil* calendar.  The diary entry
  242.                   will appear on the proper Hebrew-date anniversary and on the
  243.                   day before.  (If `european-calendar-style' is t, the order
  244.                   of the parameters should be changed to DAY, MONTH, YEAR.)
  245.                   
  246.       %%(diary-rosh-hodesh)
  247.                   Diary entries will be made on the dates of Rosh Hodesh on
  248.                   the Hebrew calendar.  Note that since there is no text, it
  249.                   makes sense only if the fancy diary display is used.
  250.  
  251.       %%(diary-parasha)
  252.                   Diary entries giving the weekly parasha will be made on
  253.                   every Saturday.  Note that since there is no text, it
  254.                   makes sense only if the fancy diary display is used.
  255.  
  256.       %%(diary-omer)
  257.                   Diary entries giving the omer count will be made every day
  258.                   from Passover to Shavuoth.  Note that since there is no text,
  259.                   it makes sense only if the fancy diary display is used.
  260.  
  261. Marking these entries is *extremely* time consuming, so these entries are
  262. best if they are nonmarking."])
  263. (fset 'diary-sexp-entry #[(sexp entry date) "└┴┬Åë½â ¬ä ¡ü )ç" [nil (byte-code "└┴\n!@!ç" [eval read-from-string sexp] 3) ((error (byte-code "└ ê┴┬èî├`}êebê├┼╞╟╚#½à T¬t +    \n$ê╦╠!ç" [beep message "Bad sexp at line %d in %s: %s" 1 lines re-search-forward "\n\\|" nil t diary-file sexp sleep-for 2] 6))) result entry] 4 "\
  264. Process a SEXP diary ENTRY for DATE."])
  265. (fset 'diary-block #[(m1 d1 y1 m2 d2 y2) "└    ½å\n E¬ä \n E!└    ½êE¬åE!└!    \në     X¡ë    \nX¡é +ç" [calendar-absolute-from-gregorian european-calendar-style d1 m1 y1 d2 m2 y2 date d date2 date1 entry] 6 "\
  266. Block diary entry--entry applies if date is between two dates.  Order of
  267. the parameters is M1, D1, Y1, M2, D2, Y2 `european-calendar-style' is nil, and
  268. D1, M1, Y1, D2, M2, Y2 if `european-calendar-style' is t."])
  269. (fset 'diary-float #[(month dayname n) "└    ┬ ╞    !$\"¡éç" [calendar-date-equal date calendar-nth-named-day n dayname month extract-calendar-year entry] 8 "\
  270. Floating diary entry--entry applies if date is the nth dayname of month."])
  271. (fset 'diary-anniversary #[(month day year) "½â    ¬ü\n½â\n¬ü    ┼!ëZ     ╩U½Å ╦U½è╠!¼ä═╬    ╧V¡ò╨ E\"¡è╤    ╙    !#,ç" [european-calendar-style month day d m extract-calendar-year date y year diff 2 29 calendar-leap-year-p 3 1 0 calendar-date-equal format entry diary-ordinal-suffix] 6 "\
  272. Anniversary diary entry--entry applies if date is the anniversary of
  273. MONTH, DAY, YEAR if `european-calendar-style' is nil, and DAY, MONTH, YEAR
  274. if `european-calendar-style' is t.  Diary entry can contain `%d' or `%d%s'; the
  275. %d will be replaced by the number of years since the MONTH DAY, YEAR and the
  276. %s will be replaced by the ordinal ending of that number (that is, `st', `nd',
  277. `rd' or `th', as appropriate.  The anniversary of February 29 is considered
  278. to be March 1 in non-leap years."])
  279. (fset 'diary-cyclic #[(n month day year) "½â    ¬ü\n½â\n¬ü    ┼!┼ E!Zë    Ñ\n╦Y¡ô    ª╦U¡è╠\n╬\n!#,ç" [european-calendar-style month day d m calendar-absolute-from-gregorian date year diff n cycle 0 format entry diary-ordinal-suffix] 6 "\
  280. Cycle diary entry--entry applies every N days starting at MONTH, DAY, YEAR.
  281. If `european-calendar-style' is t, parameters are N, DAY, MONTH, YEAR.
  282. ENTRY can contain `%d' or `%d%s'; the %d will be replaced by the number of
  283. years since the MONTH DAY, YEAR and the %s will be replaced by the ordinal
  284. ending of that number (that is, `st', `nd', `rd' or `th', as appropriate."])
  285. (fset 'diary-ordinal-suffix #[(n) "└    W½à    ┬W¼ç    ├ª─>½é┼ç╞    ├ªHç" [9 n 20 10 (4 5 6 7 8 9 0) "th" ["th" "st" "nd" "rd"]] 3 "\
  286. Ordinal suffix for N. (That is, `st', `nd', `rd', or `th', as appropriate.)"])
  287. (fset 'diary-day-of-year #[nil "└    !├    !├┼╞\nE! Z╚╔ \në╩U½â╦¬ü╠%+ç" [extract-calendar-year date year calendar-day-number day 12 31 days-remaining format "Day %d of %d; %d day%s remaining in the year" 1 "" "s"] 7 "\
  288. Day of year and number of days remaining in the year of date diary entry."])
  289. (fset 'diary-iso-date #[nil "└    !┬ª├└    !!╞╟╚U½â┬¬ü╔ !╩ !$*ç" [calendar-absolute-from-gregorian date 7 calendar-iso-from-absolute iso-date day format "ISO date: Day %s of week %d of %d." 0 extract-calendar-month extract-calendar-year] 6 "\
  290. ISO calendar equivalent of date diary entry."])
  291. (fset 'diary-islamic-date #[nil "½â┴¬ü┬─┼!!    ╩!╦Y¡ç╠═╬!\"+ç" [european-calendar-style (day " " monthname " " year) (monthname " " day ", " year) calendar-date-display-form calendar-islamic-from-absolute calendar-absolute-from-gregorian date i-date calendar-islamic-month-name-array calendar-month-name-array extract-calendar-year 1 format "Islamic date: %s" calendar-date-string] 4 "\
  292. Islamic calendar equivalent of date diary entry."])
  293. (fset 'diary-hebrew-date #[nil "½â┴¬ü┬─┼!!╚╔!!½ä\n¬é  ═╬╧!\"+ç" [european-calendar-style (day " " monthname " " year) (monthname " " day ", " year) calendar-date-display-form calendar-hebrew-from-absolute calendar-absolute-from-gregorian date h-date hebrew-calendar-leap-year-p extract-calendar-year calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year calendar-month-name-array format "Hebrew date: %s" calendar-date-string] 4 "\
  294. Hebrew calendar equivalent of date diary entry."])
  295. (fset 'diary-french-date #[nil "└┴\n!!─ !╞ !╚ !    ╩V¡¡╦U½î╠═    SH#¬¢╠╧╨    S╤ÑT╥\"    S╤ªHSH%,ç" [calendar-french-from-absolute calendar-absolute-from-gregorian date french-date extract-calendar-year y extract-calendar-month m extract-calendar-day d 0 13 format "Jour %s de l'Annee %d de la Revolution" french-calendar-special-days-array "Decade %s, %s de %s de l'Annee %d de la Revolution" make-string 10 73 french-calendar-day-name-array french-calendar-month-name-array] 6 "\
  296. French calendar equivalent of date diary entry."])
  297. (fset 'diary-omer #[nil "└┴┬├ !┼\\E!╟ !Zë╔Ñ\n╔ª ╠V¡╣═W¡│╬╧\n╠U½â╨¬Ñ╬╤\në┴U½â╨¬ü╥ ╠U½â╨¬Ä╬╙ ë┴U½â╨¬ü╥#$#,ç" [calendar-absolute-from-hebrew 1 15 extract-calendar-year date 3760 passover calendar-absolute-from-gregorian omer 7 week day 0 50 format "Day %d%s of the omer (until sunset)." "" ", that is, %d week%s%s" "s" " and %d day%s"] 13 "\
  298. Omer count diary entry--entry applies if date is within 50 days after
  299. Passover."])
  300. (fset 'diary-yahrzeit #[(death-month death-day death-year) "└┴\n½å E¬ä E!!╟!╔!\n╦! ┴!╦└!!ë Z╤\"╙V¡┬U¼êTU¡│╘╒U½â╫¬ü╪ë┘ª┌U½â█¬ù┘ª▄U½â▌¬î┘ª▐U½â▀¬üα%.ç" [calendar-hebrew-from-absolute calendar-absolute-from-gregorian european-calendar-style death-day death-month death-year h-date extract-calendar-month h-month extract-calendar-day h-day extract-calendar-year h-year date d yr diff hebrew-calendar-yahrzeit y 0 format "Yahrzeit of %s%s: %d%s anniversary" entry "" " (evening)" 10 1 "st" 2 "nd" 3 "rd" "th"] 8 "\
  301. Yahrzeit diary entry--entry applies if date is yahrzeit or the day before.
  302. Parameters are DEATH-MONTH, DEATH-DAY, DEATH-YEAR; the diary entry is assumed
  303. to be the name of the person.  Date of death is on the *civil* calendar;
  304. although the date of death is specified by the civil calendar, the proper
  305. Hebrew calendar yahrzeit is determined.  If european-calendar-style is t, the
  306. order of the parameters is changed to DEATH-DAY, DEATH-MONTH, DEATH-YEAR."])
  307. (fset 'diary-rosh-hodesh #[nil "└    !├\n!┼ !╟ !╔ !\n╦\n! ═\n\" ½ä¬éëSH╟├\nS!!╘U¼î╒U½¬╓U¼ñ╫╪╘U½è╫┘H\"¬Å╘U½ç╫┌\"¬é\"¬α\n╓ª█U¡┘▄V½⌐█U¼ú▌U½¥╫▐▀\n!U½âα¬éH!▌ZH#¬¬╘W¡ñ▄V¡₧╘U¡ÿ╫ΓH!▌ZH!╘Z╓ªH$.\nç" [calendar-absolute-from-gregorian date d calendar-hebrew-from-absolute h-date extract-calendar-month h-month extract-calendar-day h-day extract-calendar-year h-year hebrew-calendar-leap-year-p leap-year hebrew-calendar-last-day-of-month last-day calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year h-month-names this-month h-yesterday 30 1 7 format "Rosh Hodesh %s" "%s (first day)" "%s (second day)" 6 22 29 "Mevarhim Rosh Hodesh %s (%s)" hebrew-calendar-last-month-of-year 0 calendar-day-name-array "Mevarhim Rosh Hodesh %s (%s-%s)"] 8 "\
  308. Rosh Hodesh diary entry--entry applies if date is Rosh Hodesh or the
  309. Saturday before."])
  310. (fset 'diary-parasha #[nil "└    !ë├ª─Uà▒┼╞\n!!╚├╔E!\n╚╔╦E! \n├ªH ├ªH╨!╥!½ç¼â╘¬î¼ç½â╒¬ü╓╪┘┌$!J▄─\n─\\\"\nZ├ÑH롬┘α<½₧@½Å┘ßΓ@!ΓA!#¬Ä┘πΓA!\"¬äΓ!\". )ç" [calendar-absolute-from-gregorian date d 7 6 extract-calendar-year calendar-hebrew-from-absolute h-year calendar-absolute-from-hebrew 1 rosh-hashannah 15 passover calendar-day-name-array rosh-hashannah-day passover-day hebrew-calendar-long-heshvan-p long-h hebrew-calendar-short-kislev-p short-k "complete" "incomplete" "regular" type intern format "hebrew-calendar-year-%s-%s-%s" year-format calendar-dayname-on-or-before first-saturday saturday parasha "Parashat %s" "%s (diaspora) %s (Israel)" hebrew-calendar-parasha-name "%s (Israel)"] 8 "\
  311. Parasha diary entry--entry applies if date is a Saturday."])
  312. (fset 'add-to-diary-list #[(date string) "¡î    ¡ë┬     DC\"ëç" [date string append diary-entries-list] 4 "\
  313. Add the entry (DATE STRING) to the diary-entries-list.
  314. Do nothing if DATE or STRING is nil."])
  315. (defconst hebrew-calendar-parashiot-names ["Bereshith" "Noah" "Lech L'cha" "Vayera" "Hayei Sarah" "Toledoth" "Vayetze" "Vayishlah" "Vayeshev" "Mikketz" "Vayiggash" "Vayhi" "Shemoth" "Vaera" "Bo" "Beshallah" "Yithro" "Mishpatim" "Terumah" "Tetzavveh" "Ki Tissa" "Vayakhel" "Pekudei" "Vayikra" "Tzav" "Shemini" "Tazria" "Metzora" "Aharei Moth" "Kedoshim" "Emor" "Behar" "Behukkotai" "Bemidbar" "Naso" "Behaalot'cha" "Shelah L'cha" "Korah" "Hukkath" "Balak" "Pinhas" "Mattoth" "Masei" "Devarim" "Vaethanan" "Ekev" "Reeh" "Shofetim" "Ki Tetze" "Ki Tavo" "Nitzavim" "Vayelech" "Haazinu"] "\
  316. The names of the parashiot in the Torah.")
  317. (defconst hebrew-calendar-year-Saturday-incomplete-Sunday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\
  318. The structure of the parashiot in a Hebrew year that starts on Saturday,
  319. is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover
  320. start on Sunday.")
  321. (defconst hebrew-calendar-year-Saturday-complete-Tuesday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  322. The structure of the parashiot in a Hebrew year that starts on Saturday,
  323. is `complete' (Heshvan and Kislev each have 30 days), and has Passover
  324. start on Tuesday.")
  325. (defconst hebrew-calendar-year-Monday-incomplete-Tuesday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  326. The structure of the parashiot in a Hebrew year that starts on Monday,
  327. is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover
  328. start on Tuesday.")
  329. (defconst hebrew-calendar-year-Monday-complete-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 (nil . 34) (34.35) (35.36) (36.37) (37.38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  330. The structure of the parashiot in a Hebrew year that starts on Monday,
  331. is `complete' (Heshvan and Kislev each have 30 days), and has Passover
  332. start on Thursday.")
  333. (defconst hebrew-calendar-year-Tuesday-regular-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 (nil . 34) (34.35) (35.36) (36.37) (37.38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  334. The structure of the parashiot in a Hebrew year that starts on Tuesday,
  335. is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover
  336. start on Thursday.")
  337. (defconst hebrew-calendar-year-Thursday-regular-Saturday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil (nil . 25) (25\. [26 27]) ([26 27] . [28 29]) ([28 29] . 30) (30.31) ([31 32] . 32) 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\
  338. The structure of the parashiot in a Hebrew year that starts on Thursday,
  339. is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover
  340. start on Saturday.")
  341. (defconst hebrew-calendar-year-Thursday-complete-Sunday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\
  342. The structure of the parashiot in a Hebrew year that starts on Thursday,
  343. is `complete' (Heshvan and Kislev each have 30 days), and has Passover
  344. start on Sunday.")
  345. (defconst hebrew-calendar-year-Saturday-incomplete-Tuesday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  346. The structure of the parashiot in a Hebrew year that starts on Saturday,
  347. is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover
  348. start on Tuesday.")
  349. (defconst hebrew-calendar-year-Saturday-complete-Thursday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 (nil . 34) (34.35) (35.36) (36.37) (37.38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  350. The structure of the parashiot in a Hebrew year that starts on Saturday,
  351. is `complete' (Heshvan and Kislev each have 30 days), and has Passover
  352. start on Thursday.")
  353. (defconst hebrew-calendar-year-Monday-incomplete-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 (nil . 34) (34.35) (35.36) (36.37) (37.38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\
  354. The structure of the parashiot in a Hebrew year that starts on Monday,
  355. is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover
  356. start on Thursday.")
  357. (defconst hebrew-calendar-year-Monday-complete-Saturday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil (nil . 28) (28.29) (29.3) (30.31) (31.32) (32.33) (33.34) (34.35) (35.36) (36.37) (37.38) (38.39) (39.4) (40.41) ([41 42] . 42) 43 44 45 46 47 48 49 50] "\
  358. The structure of the parashiot in a Hebrew year that starts on Monday,
  359. is `complete' (Heshvan and Kislev each have 30 days), and has Passover
  360. start on Saturday.")
  361. (defconst hebrew-calendar-year-Tuesday-regular-Saturday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil (nil . 28) (28.29) (29.3) (30.31) (31.32) (32.33) (33.34) (34.35) (35.36) (36.37) (37.38) (38.39) (39.4) (40.41) ([41 42] . 42) 43 44 45 46 47 48 49 50] "\
  362. The structure of the parashiot in a Hebrew year that starts on Tuesday,
  363. is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover
  364. start on Saturday.")
  365. (defconst hebrew-calendar-year-Thursday-incomplete-Sunday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 nil 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50] "\
  366. The structure of the parashiot in a Hebrew year that starts on Thursday,
  367. is `incomplete' (Heshvan and Kislev both have 29 days), and has Passover
  368. start on Sunday.")
  369. (defconst hebrew-calendar-year-Thursday-complete-Tuesday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 nil 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50 51]] "\
  370. The structure of the parashiot in a Hebrew year that starts on Thursday,
  371. is `complete' (Heshvan and Kislev both have 30 days), and has Passover
  372. start on Tuesday.")
  373. (fset 'hebrew-calendar-parasha-name #[(p) "└    !½Ä┬├     ┼HH     ╞HH#ç     Hç" [arrayp p format "%s/%s" hebrew-calendar-parashiot-names 0 1] 6 "\
  374. Name(s) corresponding to parasha P."])
  375. (fset 'hebrew-calendar-yahrzeit #[(death-date year) "└    !├    !┼    ! ╟U½û\n╚U½æ╔T!¼è╩╦╠E!S¬╠ ╦U½û\n╚U½æ╬T!½è╩╧╠E!S¬▒ ╨U½î╩╤!\nE!¬á\n╚U½ö ╥U½Å╙!¼ë╩╘╚E!¬ç╩ \nE!+ç" [extract-calendar-day death-date death-day extract-calendar-month death-month extract-calendar-year death-year 8 30 hebrew-calendar-long-heshvan-p calendar-absolute-from-hebrew 9 1 year hebrew-calendar-short-kislev-p 10 13 last-month-of-hebrew-year 12 hebrew-calendar-leap-year-p 11] 4 "\
  376. Absolute date of the anniversary of Hebrew DEATH-DATE in Hebrew YEAR."])
  377. (fset 'list-islamic-diary-entries #[nil "└    WâO┬├  ┼!    \n└      Të YâF ╬╧!!╤!╙!╒!â7@@╫ܽå@A¬â@@@╫Ü┘!┌┘!└█O▄Rαß!P\"πΣ!PπΣ!PπΣ!%½è┌Σµª!P¬üτQΦΘ┼*!δ∞φε#∩░0±2ebê≤0┬±#½σ½å⌠⌡┬±#ê÷h≈\"¼å÷h°\"½ï∙·!¼å√ⁿ!ê¬W`┬=>⌠ !ê`=≤ü@┬±üA$ê∙·!½è≤ü@┬±#ê¬q√ⁿ!êüB=`≈°±%êüC>`{\"ê*¬.\nAëäG-üD╧!T!é)üE    !,çebç" [0 number nil buffer-modified-p original-date regexp-quote diary-nonmarking-symbol mark gdate diary-modified buffer-read-only i diary-date-forms d calendar-islamic-from-absolute calendar-absolute-from-gregorian idate extract-calendar-month month extract-calendar-day day extract-calendar-year year backup date-form calendar-day-name "\\|" 3 ".?" dayname calendar-islamic-month-name-array calendar-month-name-array "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year 100 "" "\\(\\`\\|\\|\n\\)" "?" islamic-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp t case-fold-search re-search-forward re-search-backward "\\<" char-equal 13 10 looking-at " \\|    " backward-char 1 date-start entry-start "\\|\n\\|\\`" "\\|\n" 2 subst-char-in-region add-to-diary-list calendar-gregorian-from-absolute set-buffer-modified-p] 10 "\
  378. Add any Islamic date entries from the diary-file to diary-entries-list.
  379. Islamic date diary entries must be prefaced by an islamic-diary-entry-symbol
  380. (normally an `I').  The same diary-date-forms govern the style of the Islamic
  381. calendar entries, except that the Islamic month names must be spelled in full.
  382. The Islamic months are numbered from 1 to 12 with Muharram being 1 and 12 being
  383. Dhu al-Hijjah.  If an Islamic date diary entry begins with a
  384. diary-nonmarking-symbol the entry will appear in the diary listing, but will
  385. not be marked in the calendar.  This function is provided for use with the
  386. nongregorian-diary-listing-hook."])
  387. (fset 'mark-islamic-diary-entries #[nil "ëà¿    @@┬ܽࠠ  @A¬é    @─!─╚\"╔P\n╦ ╦╦ Gë╞ >GZU?¡ä╤\\╩ >GZU?¡ä╤\\═ >GZU?¡ä╤\\╠ >GZU?¡ä╤\\╬ >GZU?¡ä╤\\╓╫!┘┌█ ▄#▌░╚ebêαß╚#â₧¡çöò{\"¡çöò{#Σ½ëöò{¬üσ!&Σ½ëöò{¬üσ!'¡çöò{ë(¼âΘ¬╚(G╤U½╜*½╣δ∞φε !!!/Σ(!/≡Ñ≡_\\ë1/Z≥V½å1≡Z¬æ/1Z≥V½å1≡\\¬é1*¬äΣ(!3\"½ö⌠⌡÷\"Θ≈O!°Θ∙#\"A!ê¬Ñ#½ÿ#·ÿ½àΘ&¬ì⌡÷#!°!\"A&√&'3#ê.é╕.    Aëäß)ç" [diary-date-forms d backup date-form diary-name-pattern calendar-day-name-array dayname calendar-islamic-month-name-array t "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\|\\|\n\\)" regexp-quote islamic-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year extract-calendar-year calendar-islamic-from-absolute calendar-absolute-from-gregorian calendar-current-date current-y 100 y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" mark-islamic-calendar-date-pattern] 8 "\
  388. Mark days in the calendar window that have Islamic date diary entries.
  389. Each entry in diary-file (or included files) visible in the calendar window
  390. is marked.  Islamic date entries are prefaced by a islamic-diary-entry-symbol
  391. (normally an `I').  The same diary-date-forms govern the style of the Islamic
  392. calendar entries, except that the Islamic month names must be spelled in full.
  393. The Islamic months are numbered from 1 to 12 with Muharram being 1 and 12 being
  394. Dhu al-Hijjah.  Islamic date diary entries that begin with a
  395. diary-nonmarking-symbol will not be marked in the calendar.  This function is
  396. provided for use as part of the nongregorian-diary-marking-hook."])
  397. (fset 'mark-islamic-calendar-date-pattern #[(month day year) "èqê    ┬Uäè ┬U¼√ ┬U¼ÿ┼╞     E!!╚!¡ä╔!)é5╩╦ ═E!!╨!╥!╘╒W?¡╕╓_╫    Z╪\\\\\\ë╓ªT╓Ñ)┌V¡û┼╞     E!!╚!¡ä╔!),é5 ╘ë╓_▌\\\\ë╓ªT╓Ñ)╦╒E!╓_╒\\\\ë╓ªT╓Ñ)╦▐\"E!STëY¡├╩!╨! ß!\"╥!#    ┬U¼å     U½¥ ┬U¼å \"U½Æ ┬U¼å #U½ç╔┼!!ê,¬2-)ç" [calendar-buffer month 0 day year calendar-gregorian-from-absolute calendar-absolute-from-islamic date calendar-date-is-visible-p mark-visible-calendar-date calendar-islamic-from-absolute calendar-absolute-from-gregorian displayed-month 15 displayed-year islamic-date extract-calendar-month m extract-calendar-year y nil 1 12 10 -1 macro-y 7 last-date first-date -2 calendar-last-day-of-month i-date i-month extract-calendar-day i-day i-year] 6 "\
  398. Mark all dates in the calendar window that conform to the Islamic date
  399. MONTH/DAY/YEAR.  A value of 0 in any position is a wild-card."])
  400. (fset 'make-diary-entry #[(string &optional nonmarking file) "└┴\n½â\n¬ü !!êdbên½â─¬ü┼½ä¬ü─╔▒ç" [find-file-other-window substitute-in-file-name file diary-file "" "\n" nonmarking diary-nonmarking-symbol string " "] 4 "\
  401. Insert a diary entry STRING which may be NONMARKING in FILE.
  402. If omitted, NONMARKING defaults to nil and FILE defaults to diary-file."])
  403. (fset 'insert-diary-entry #[(arg) "½â┴¬ü┬─┼╞ «â╟╚!╔\"\n\")ç" [european-calendar-style (day " " monthname " " year) (monthname " " day ", " year) calendar-date-display-form make-diary-entry calendar-date-string calendar-cursor-to-date error "Cursor is not on a date!" t arg] 4 "\
  404. Insert a diary entry for the date indicated by point.
  405. Prefix arg will make the entry nonmarking." "P"])
  406. (fset 'insert-weekly-diary-entry #[(arg) "└┴┬ «â├─!!\"ç" [make-diary-entry calendar-day-name calendar-cursor-to-date error "Cursor is not on a date!" arg] 4 "\
  407. Insert a weekly diary entry for the day of the week indicated by point.
  408. Prefix arg will make the entry nonmarking." "P"])
  409. (fset 'insert-monthly-diary-entry #[(arg) "½â┴¬ü┬─┼╞ «â╟╚!╔\"\n\")ç" [european-calendar-style (day " * ") ("* " day) calendar-date-display-form make-diary-entry calendar-date-string calendar-cursor-to-date error "Cursor is not on a date!" t arg] 4 "\
  410. Insert a monthly diary entry for the day of the month indicated by point.
  411. Prefix arg will make the entry nonmarking." "P"])
  412. (fset 'insert-yearly-diary-entry #[(arg) "½â┴¬ü┬─┼╞ «â╟╚!╔\"\n\")ç" [european-calendar-style (day " " monthname) (monthname " " day) calendar-date-display-form make-diary-entry calendar-date-string calendar-cursor-to-date error "Cursor is not on a date!" t arg] 4 "\
  413. Insert an annual diary entry for the day of the year indicated by point.
  414. Prefix arg will make the entry nonmarking." "P"])
  415. (fset 'insert-anniversary-diary-entry #[(arg) "½â┴¬ü┬─┼╞╚╔ «â╩╦!!# \")ç" [european-calendar-style (day " " month " " year) (month " " day " " year) calendar-date-display-form make-diary-entry format "%s(diary-anniversary %s)" sexp-diary-entry-symbol calendar-date-string calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  416. Insert an anniversary diary entry for the date given by point.
  417. Prefix arg will make the entry nonmarking." "P"])
  418. (fset 'insert-block-diary-entry #[(arg) "½â┴¬ü┬─ «â┼╞!@«â┼╔!\n╦ ╦╬\n!╬!W½è\n ¬ê \n╧╨╤╙ !╙!$\"-ç" [european-calendar-style (day " " month " " year) (month " " day " " year) calendar-date-display-form calendar-cursor-to-date error "Cursor is not on a date!" cursor mark-ring "No mark set in this buffer" mark nil start end calendar-absolute-from-gregorian make-diary-entry format "%s(diary-block %s %s)" sexp-diary-entry-symbol calendar-date-string arg] 7 "\
  419. Insert a block diary entry for the days between the point and marked date.
  420. Prefix arg will make the entry nonmarking." "P"])
  421. (fset 'insert-cyclic-diary-entry #[(arg) "½â┴¬ü┬─┼╞╚╔╩\"╦╠ «â═╬!!$\")ç" [european-calendar-style (day " " month " " year) (month " " day " " year) calendar-date-display-form make-diary-entry format "%s(diary-cyclic %d %s)" sexp-diary-entry-symbol calendar-read "Repeat every how many days: " (lambda (x) (> x 0)) calendar-date-string calendar-cursor-to-date error "Cursor is not on a date!" arg] 8 "\
  422. Insert a cyclic diary entry starting at the date given by point.
  423. Prefix arg will make the entry nonmarking." "P"])
  424. (fset 'insert-hebrew-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " " monthname " " year) (monthname " " day ", " year) calendar-date-display-form calendar-hebrew-month-name-array-leap-year calendar-month-name-array make-diary-entry hebrew-diary-entry-symbol calendar-date-string calendar-hebrew-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  425. Insert a diary entry for the Hebrew date corresponding to the date
  426. indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  427. (fset 'insert-monthly-hebrew-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " * ") ("* " day) calendar-date-display-form calendar-hebrew-month-name-array-leap-year calendar-month-name-array make-diary-entry hebrew-diary-entry-symbol calendar-date-string calendar-hebrew-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  428. Insert a monthly diary entry for the day of the Hebrew month corresponding
  429. to the date indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  430. (fset 'insert-yearly-hebrew-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " " monthname) (monthname " " day) calendar-date-display-form calendar-hebrew-month-name-array-leap-year calendar-month-name-array make-diary-entry hebrew-diary-entry-symbol calendar-date-string calendar-hebrew-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  431. Insert an annual diary entry for the day of the Hebrew year corresponding
  432. to the date indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  433. (fset 'insert-islamic-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " " monthname " " year) (monthname " " day ", " year) calendar-date-display-form calendar-islamic-month-name-array calendar-month-name-array make-diary-entry islamic-diary-entry-symbol calendar-date-string calendar-islamic-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  434. Insert a diary entry for the Islamic date corresponding to the date
  435. indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  436. (fset 'insert-monthly-islamic-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " * ") ("* " day) calendar-date-display-form calendar-islamic-month-name-array calendar-month-name-array make-diary-entry islamic-diary-entry-symbol calendar-date-string calendar-islamic-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  437. Insert a monthly diary entry for the day of the Islamic month corresponding
  438. to the date indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  439. (fset 'insert-yearly-islamic-diary-entry #[(arg) "½â┴¬ü┬ ╞╚╔╩╦ «â╠═!!!!P\"*ç" [european-calendar-style (day " " monthname) (monthname " " day) calendar-date-display-form calendar-islamic-month-name-array calendar-month-name-array make-diary-entry islamic-diary-entry-symbol calendar-date-string calendar-islamic-from-absolute calendar-absolute-from-gregorian calendar-cursor-to-date error "Cursor is not on a date!" arg] 7 "\
  440. Insert an annual diary entry for the day of the Islamic year corresponding
  441. to the date indicated by point.  Prefix arg will make the entry nonmarking." "P"])
  442.